﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeFarmer.Core
{
    /// <summary>
    /// 常用缓存过期时间
    /// </summary>
    public enum CacheTimeOption
    {
        /// <summary>
        /// 不缓存
        /// </summary>
        None,
        /// <summary>
        /// 短时间 3分钟
        /// </summary>
        Short = 3,
        /// <summary>
        /// 一般正常过期时间 10分钟
        /// </summary>
        Normal = 10,
        /// <summary>
        /// 长时间 30分钟
        /// </summary>
        Long = 30,
        /// <summary>
        /// 永不过期
        /// </summary>
        NotRemovable,
        /// <summary>
        /// 一分钟
        /// </summary>
        OneMinute = 1,
        /// <summary>
        /// 六分钟
        /// </summary>
        SixMinutes = 6,
        /// <summary>
        /// 10分钟
        /// </summary>
        TenMinutes = 10,
        /// <summary>
        /// 十五分钟
        /// </summary>
        QuarterHour = 15,
        /// <summary>
        /// 半小时
        /// </summary>
        HalfHour = 30,
        /// <summary>
        /// 一小时
        /// </summary>
        OneHour = 60,
        /// <summary>
        /// 半天(12小时)
        /// </summary>
        HalfDay = 720
    }
}
